package com.qyj.guiyangdemo.util;

import com.qyj.guiyangdemo.entity.Result;

public class ResultUtil {
    public static Result ok(String msg){
        return new Result(200,msg);
    }
    public static Result is_null(){
        return new Result(505,"参数不能为空！");
    }
    public static Result error(String msg){
        return new Result(505,msg);
    }
}
